{$VERSION 3.1.0023}
{$CLEO .cs}

thread 'WEAP'

:WEAP
wait 0
0006: 2@ = -229908 
if
0038:   &0(2@,4i) == 0x57454150
jf @WEAP
0004: &0(2@,4i) = 0x44554D00
04C4: store_coords_to 3@ 4@ 5@ from_actor $PLAYER_ACTOR with_offset -6.0 2.0 0.0
032B: 2@ = create_weapon_pickup 398 group 4 ammo 1000 at 3@ 4@ 5@
04C4: store_coords_to 3@ 4@ 5@ from_actor $PLAYER_ACTOR with_offset -6.0 4.0 0.0
032B: 2@ = create_weapon_pickup 399 group 4 ammo 1000 at 3@ 4@ 5@
jump @WEAP
